﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using ProjectBase.Core;

namespace Survey.Entity
{
    /// <summary>Restriction cluster, applicable on Find(filter)</summary>
    [Serializable]
    public class CodeListFilter : BaseFilter<int>
    {
        /// <summary>
        ///     This allows to look for exact Code using 'Equal' instead of 'Like'.
        ///     It could be useful for exact code search (GetByCode)
        /// </summary>
        public virtual string CodeExact { get; set; }

        /// <summary>
        ///     Filter for visible or hidden values
        /// </summary>
        public virtual bool? IsVisible { get; set; }

        public virtual string Code { get; set; }
        public virtual string Name { get; set; }
    }
}